home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Add-Ons / MicroPhone / Open Mike™ / Open Mike™ 010 / Mike's Folder / Tips & Tricks < prev    next >
Encoding:
Text File  |  1993-10-01  |  3.6 KB  |  50 lines  |  [TEXT/ttxt]

  1. Tips & Tricks
  2. =============
  3. Copyright © 1993 by Celestin Company
  4. All rights reserved.
  5.  
  6. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without permission in writing from the publisher. However, you are permitted to make copies of this work, printed or otherwise, as long as said copies are for your personal use only.
  7.  
  8. Introduction
  9. ------------
  10. If you've got a tip or a trick that you think would benefit other Open Mike readers, please share it with us. Readers whose tip or trick we use will receive a free issue of Open Mike. Such a deal!
  11.  
  12. More than 40 characters to a modem
  13. ----------------------------------
  14. Many modems out there only allow you to send modem commands up to 40 characters in length. This is fine for most situations. However, there are times when you might want to dial a phone number using a calling card. If this is the case, it is more than likely that you will bump into this limit. To make dialing by calling card work, you usually put a lot of commas in the dial string to make the modem wait for a specific amount of time. Each comma makes the modem wait two seconds. For example, to dial a phone number, then wait 10 seconds, and finally dial a calling card number, you might do this:
  15.  
  16.   ATDT 0 206 555 1212,,,,,206 555 1212 4455
  17.  
  18. You can immediately reduce the number of characters used by getting rid of spaces. Spaces are ignored by the modem, so you could just as easily have done this:
  19.  
  20.   ATDT02065551212,,,,,20655512124455
  21.  
  22. Then, you might consider changing the way the comma works. Make it wait for a longer period of time. This is done by changing the value in S register 8 to something other than 2. Example:
  23.  
  24.   ATS8=5&W
  25.  
  26. Note: The &W at the end saves the setting to the modem, so even if you turn the modem off and back on, it will be remembered. If you change the setting for S8 to 5, you will only need two commas and you could send the following string to your modem:
  27.  
  28.   ATDT02065551212,,20655512124455
  29.  
  30. See the difference in size? Here they are side-by-side:
  31.  
  32.   ATDT 0 206 555 1212,,,,,206 555 1212 4455
  33.   ATDT02065551212,,20655512124455
  34.  
  35. MicroPhone w/o MPToolBox?
  36. -------------------------
  37. If you are tight on disk space and you do not use any special graphical features of MicroPhone, i.e., you just want emulation and file transfers, plus some scripting, then you can safely remove MPToolBox. However, MicroPhone will always ask you about its non-existence every time you start up the program. To prevent this from happening, take the existing MPToolBox and open it with ResEdit. Remove all of the resources except for the vers resources. That will save you over 200K and MicroPhone will work without asking you about MPToolBox.
  38.  
  39. Using a New Modem with MicroPhone
  40. ---------------------------------
  41. MicroPhone has modem drivers for many popular modems. However, there are new modems coming out every day. If you have a new modem that MicroPhone does not support, you may be able to use an existing modem driver. There are three major AT command sets out there and your modem probably uses one of them. You'll be able to tell which command set your modem uses by looking in the modem manual and checking how handshaking, error correction, and data compression are configured.
  42.  
  43. For many modems the commands are as follows:
  44.  
  45. handshaking      \Q
  46. error correction \N
  47. data compression %C
  48.  
  49. Write down the commands that your modem uses. Then, open the "Configure" script in each of the modem drivers in MicroPhone until you find one that sends out the commands that your modem uses.
  50.